<?php
class adapt implements duck{
    protected $chicken;
    public function __construct(chicken $chicken)
    {
        $this->chicken = $chicken;
    }
    public function quick() {
        $this->chicken->fly();
    }
    public function sing(){
        $this->chicken->song();
    }
}